<?php
/* tester.php - tests types to learn how it brakes up */

if ($mode == NULL) {
   ?>
   <form name="test" method="POST" action="<?php echo tester.php?mode=work">
   		 <table cellpadding="0" cellspacing="0">
		 <td width="25%">
   		 Recipe:
   		 </td>
		 <td width="75%">
   		 <textarea name="rec_import" rows="20" cols="50"></textarea><br />
   		 <input type="submit" value="Submit">
		 </td>
		 </tr>
		 <td width="25%">
   		 Select Program + Virtion + Header:
   		 </td>
   		 <td width="75%">
   		 <?php include ("typelist.php"); ?>
   		 </td>
   		 </tr>
		 </table>
   </form>
   <?php
}

elseif ($mode == "work" && $rec_type != NULL) {
	   
	   include ("$rec_type.php");
	   
	   echo $rec_import;
}

?>